/* Reset CSS */

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

/* Remove list styles on ul, ol elements */
ul,
ol {
  list-style: none;
}

/* Set core body defaults */
body {
  line-height: 1.6;
}
html,body {
  width: 100%;
  height: 100%;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove default button styling */
button {
  border: none;
  background: transparent;
  cursor: pointer;
}

/* Clear floating elements */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Reset form styles */
input,
select,
textarea,
button {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  background: none;
  font-size: 100%;
  vertical-align: baseline;
}

/* Remove outline on active elements */
a,
a:active,
a:focus,
a:hover,
button:focus,
button:hover {
  outline: 0;
}

/* Remove underlines from links */
a {
  text-decoration: none;
}

/* Set text color on active links */
a:active,
a:focus,
a:hover {
  color: #007bff;
}

/* Set focus behavior to visible */
button,
input,
select,
textarea {
  &:focus {
    outline: 0;
  }
}
/* 修改滚动条宽度和颜色 */
::-webkit-scrollbar {
  width: 6px; /* 滚动条宽度一半 */
  height: 6px; /* 水平滚动条高度一半 */
}

/* 滚动条轨道背景色 */
::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

/* 滚动条滑块颜色 */
::-webkit-scrollbar-thumb {
  background-color: #d7d7d7;
  border-radius: 5px; /* 圆角效果 */
}

/* 鼠标悬停在滚动条上方时的滑块颜色 */
::-webkit-scrollbar-thumb:hover {
  background-color: #afadad;
}
/* Reset CSS End */
